﻿using Microsoft.Web.WebPages.OAuth;

namespace www
{
    public static class AuthConfig
    {
        public static void RegisterAuth()
        {
            // To let users of this site log in using their accounts from other sites such as Microsoft, Facebook, and Twitter,
            // you must update this site. For more information visit http://go.microsoft.com/fwlink/?LinkID=252166

            //OAuthWebSecurity.RegisterMicrosoftClient(
            //    clientId: "",
            //    clientSecret: "");
            
            OAuthWebSecurity.RegisterFacebookClient(
                appId: "792629344116493",
                appSecret: "475566bd630348019eb1c41bd612be38");
            OAuthWebSecurity.RegisterGoogleClient();

            OAuthWebSecurity.RegisterYahooClient();

            OAuthWebSecurity.RegisterTwitterClient(
                consumerKey: "cChZNFj6T5R0TigYB9yd1w",
                consumerSecret: "PbKfYqSryyeKDWz4ebtY3o5ogNLG11WJuZBc9fQrQo");
            
            OAuthWebSecurity.RegisterLinkedInClient(
                consumerKey: "754t84nahx3djc",
                consumerSecret: "eQXiFjHGeKj5yAGd");
            //api key:754t84nahx3djc
           
        }
    }
}
